package com.apexedu.portal.service.impl;


import com.apexedu.framework.dao.BaseDao;

import cn.com.sr.sdk.ext.api.mail.coremail.CoreMailUtil;

import org.apache.commons.logging.Log;
import org.apache.commons.logging.LogFactory;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

/**
 * 上海美院门户
 *
 * @datetime 2015.07.22
 */
@Service("mhShmyService")
public class MhShmyServiceImpl extends MhBaseServiceImpl{

    private static final Log LOG = LogFactory.getLog(MhShmyServiceImpl.class);
    @Autowired
    BaseDao baseDao;

    
    
    /**
	 * 获取未读邮件数-CoreMail
	 * 【方法名】：<br/>
	 * 【简介】：<br/>
	 * 【创建时间】：2016年9月4日 上午3:43:03<br/>
	 * 
	 * @param username
	 * @return
	 */
	public Integer getUnReadMailNumber(String username) {
		return CoreMailUtil.getUserUnReadMailNumber(username);
	}

}
